using System;
using System.Collections.Generic;

namespace DuplexTransformersTests.Subjects.WorldA
{
    public class Client : ContentEntity
    {
        public Image LogoLarge { get; set; }
        public Image LogoSmall { get; set; }
        public IList<Project> Projects { get; private set; }

        public Client(string name, Image logoLarge, Image logoSmall) : base(name)
        {
            LogoLarge = logoLarge;
            LogoSmall = logoSmall;
            Projects = new List<Project>();
        }

        public Client() : this(null, new Image(), new Image())
        {
        }

        public void AddProject(string name, DateTime startedDateTime)
        {
            var project = new Project(name, startedDateTime);
            Projects.Add(project);
        }
    }
}